package com.binhthuan.catechist.client.grid;

import com.binhthuan.catechist.client.data.TrainerDS;
import com.binhthuan.catechist.shared.constant.Action;
import com.binhthuan.catechist.shared.constant.Parameter;
import com.smartgwt.client.data.Criteria;

public class TemporaryDeleteTrainerGrid extends TrainerGrid {

    public TemporaryDeleteTrainerGrid() {
    }

    public TemporaryDeleteTrainerGrid(TrainerDS dataSource) {
        super(dataSource);
    }

    /* (non-Javadoc)
     * @see com.binhthuan.catechist.client.grid.AbstractGrid#initializeCriteria()
     */
    @Override
    protected Criteria initializeCriteria() {
        return new Criteria(Parameter.OPERATION_INFO, Action.GET_TEMPORARY_DELETE_TRAINERS);
    }
}
